package day6.pet;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTest {
    public static void main(String[] args) {
//        Penguiun p=new Penguiun("小蓝企鹅",88,55,"公");
//        p.print();
//        p.swim();
        //Pet定义共性
        Pet p2 = new Penguiun("小蓝企鹅", 88, 55, "公");
        p2.print();
        //？》？？p2.swim();
    }
}
